package com.binarycube.webserver.session;

import com.binarycube.webserver.config.SessionManagerConfig;
import com.binarycube.webserver.wrappers.WrappedRequest;
import com.binarycube.webserver.wrappers.WrappedResponse;



public interface ISessionManager {

	public Session getSession(String id);
	public void endSession(WrappedResponse response, Session session);
	public Session getSession(WrappedRequest request);
	public Session createSession(WrappedRequest request);
	public void updateSession(Session session);
	
	public void persistSession(WrappedResponse response, Session session);
	public void configure(SessionManagerConfig config);
	
}
